// API导出测试文件
console.log('Testing API exports...')

// 测试studentProfile API导出
try {
  const studentProfileApi = require('@/api/campus/student/studentProfile.js')
  console.log('studentProfile API exports:', Object.keys(studentProfileApi))
  console.log('getStudentProfile function exists:', typeof studentProfileApi.getStudentProfile === 'function')
} catch (error) {
  console.error('Error importing studentProfile API:', error)
}

// 测试myApplications API导出
try {
  const myApplicationsApi = require('@/api/campus/student/myApplications.js')
  console.log('myApplications API exports:', Object.keys(myApplicationsApi))
  console.log('cancelApplication function exists:', typeof myApplicationsApi.cancelApplication === 'function')
} catch (error) {
  console.error('Error importing myApplications API:', error)
}

// 测试smartRecommendations API导出
try {
  const smartRecommendationsApi = require('@/api/campus/student/smartRecommendations.js')
  console.log('smartRecommendations API exports:', Object.keys(smartRecommendationsApi))
  console.log('applyFromRecommendation function exists:', typeof smartRecommendationsApi.applyFromRecommendation === 'function')
} catch (error) {
  console.error('Error importing smartRecommendations API:', error)
}

console.log('API export test completed.')